import { Controller, Get, Inject, Provide } from '@midwayjs/decorator'
import { AuthService } from '../service/auth'

@Provide()
@Controller('/jwks')
export class JwksController {

  @Inject()
  authService: AuthService

  @Get('/')
  async getJWKS() {
    return this.authService.getJwks()
  }
}
